home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d20 / fddev202.arc / PASCAL.ARC / LASTCALL.INC < prev    next >
Text File  |  1991-10-01  |  2KB  |  60 lines

  1. (*
  2. **  LastCall.Inc (FrontDoor)
  3. **
  4. **  Copyright 1991 Joaquim H. Homrighausen. All rights reserved.
  5. **
  6. **  LASTCALL.FD definitions for FrontDoor 2.00+
  7. **
  8. **  Last revision:  91-10-02
  9. **
  10. **  -------------------------------------------------------------------------
  11. **  This information is not necessarily final and is subject to change at any
  12. **  given time without further notice
  13. **  -------------------------------------------------------------------------
  14. *)
  15.  
  16. (*
  17. **  Recent activity (statistics) definitions.
  18. *)
  19. TYPE
  20.   StatRec     = RECORD
  21.     Inbound,                                          (* Inbound mail calls *)
  22.     Outbound,                                        (* Outbound mail calls *)
  23.     Humans,                                          (* Inbound BBS callers *)
  24.     FilesIn,                                               (* Inbound files *)
  25.     FilesOut,                                             (* Outbound files *)
  26.     GoodSess,                                              (* Good sessions *)
  27.     BadSess,                                             (* Failed sessions *)
  28.     Requests  : word;                              (* Inbound file requests *)
  29.     Date,                                           (* UNIX-style timestamp *)
  30.     BytesIn,                                        (* Inbound (rcvd) bytes *)
  31.     BytesOut  : longint;                           (* Outbound (sent) bytes *)
  32.   End;
  33.  
  34.  
  35.   LastCallRec = RECORD
  36.     SystemName: string[30];
  37.     Location  : string[40];
  38.     Zone,
  39.     Net,
  40.     Node,
  41.     Point     : word;
  42.     TimeStamp : longint;                            (* UNIX-style timestamp *)
  43.   End;
  44.  
  45.  
  46. (*
  47. **  The LASTCALL.FD file contains four records, two StatRec and two
  48. **  LastCallRec. Today's activity is moved to yesterday's activity
  49. **  as soon as FD runs its 'past-midnight' internal event.
  50. *)
  51.  
  52.   ActivityRec = RECORD
  53.     LastIn,                                       (* Last inbound mail call *)
  54.     LastOut   : LastCallRec;                     (* Last outbound mail call *)
  55.     Today,                                              (* Today's activity *)
  56.     Yesterday : StatRec;                            (* Yesterday's activity *)
  57.   End;
  58.  
  59. (* end of file "LastCall.Inc" *)
  60.